Skip to content

fix: envelope file viewer fallback#6268

Merged
vitormattos merged 2 commits intomainfrom
fix/envelope-file-viewer-fallback
Dec 30, 2025
Merged

fix: envelope file viewer fallback#6268
vitormattos merged 2 commits intomainfrom
fix/envelope-file-viewer-fallback

Conversation

@vitormattos
Copy link
Copy Markdown
Member

No description provided.

- Move URL generation outside conditional to avoid duplication
- Add fallback to window.open() when OCA.Viewer is unavailable
- Simplify reference from window.OCA to OCA for consistency
- Ensures PDFs can be opened directly if Viewer app fails

Signed-off-by: Vitor Mattos <[email protected]>
- Move URL generation outside conditional to avoid code duplication
- Ensures URL is generated once and reused for both viewer and fallback
- Maintains fallback to window.open() when OCA.Viewer is unavailable

Signed-off-by: Vitor Mattos <[email protected]>
@vitormattos vitormattos added this to the Next Major (33) milestone Dec 30, 2025
@vitormattos vitormattos self-assigned this Dec 30, 2025
@github-project-automation github-project-automation Bot moved this to 0. Needs triage in Roadmap Dec 30, 2025
@vitormattos
Copy link
Copy Markdown
Member Author

/backport to stable32

@vitormattos
Copy link
Copy Markdown
Member Author

/backport to stable31

@vitormattos vitormattos merged commit 4ec2116 into main Dec 30, 2025
53 checks passed
@vitormattos vitormattos deleted the fix/envelope-file-viewer-fallback branch December 30, 2025 17:50
@github-project-automation github-project-automation Bot moved this from 0. Needs triage to 4. to release in Roadmap Dec 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant